package cn.jinjie.day03.test2;

public interface Inter03 {
    private void spend() {
        System.out.println("花钱");
    }

    default void play1() {
        spend();
        System.out.println("玩1");
    }

    default void play2() {
        spend();
        System.out.println("玩2");
    }


    private static void healthy() {
        System.out.println("有益健康");
    }

    static void sport1() {
        System.out.println("踢球");
        healthy();
    }

    static void sport2() {
        System.out.println("游泳");
        healthy();
    }

}
